Weak Affine Light Typing is complete with respect to Safe Recursion on Notation
نویسنده
چکیده
Weak affine light typing (WALT) assigns light affine linear formulae as types to a subset of λ-terms of 5 System F.WALT is poly-time sound: if a λ-termM has type inWALT,M can be evaluated with a polynomial cost in the dimension of the derivation that gives it a type. The evaluation proceeds under any strategy of a rewriting relation which is a mix of both call-by-name and call-by-value β-reductions. WALT weakens, namely generalizes, the notion of “stratification of deductions”, common to some Light Systems — those logical systems, derived from Linear logic, to characterize the set of Polynomial functions — . A weaker 10 stratification allows to define a compositional embedding of Safe recursion on notation (SRN) into WALT. It turns out that the expressivity of WALT is strictly stronger than the one of the known Light Systems. The embedding passes through the representation of a subsystem of SRN. It is obtained by restricting the composition scheme of SRN to one that can only use its safe variables linearly. On one side, this suggests that SRN, in fact, can be redefined in terms of more primitive constructs. On the other, the embedding of 15 SRN into WALT enjoys the two following remarkable aspects. Every datatype, required by the embedding, is represented from scratch, showing the strong structural proof-theoretical roots of WALT. Moreover, the embedding highlights a stratification structure of the normal and safe arguments, normally hidden inside the world of SRN-normal/safe variables: the less an argument is “polyomially impredicative”, the deeper, in a formal, proof-theoretical sense, it is represented inside WALT. Finally, since WALT is SRN-complete it is 20 also polynomial-time complete since SRN is. Dipartimento di Informatica, Università di Torino, C.so Svizzera n.ro 185 — 10149, TORINO — ITALY. e-mail:[email protected]. home page:http://www.di.unito.it/ ̃rover.
منابع مشابه
Weak Affine Light Typing: Polytime intensional expressivity, soundness and completeness
Ridefinite Quasi-linear come Composition-linear Weak affine light typing (WALT) assigns light affine linear formulae as types to a subset of λ-terms in System F. WALT is poly-time sound: if a λ-term M has type in WALT, M can be evaluated with a polynomial cost in the dimension of the derivation that gives it a type. In particular, the evaluation can proceed under any strategy of a rewriting rel...
متن کاملSafe Recursion on Notation into a Light Logic by Levels
We embed Safe Recursion on Notation (SRN) into Light Affine Logic by Levels (LALL), derived from the logic ML4. LALL is an intuitionistic deductive system, with a polynomial time cut elimination strategy. The embedding allows to represent every term t of SRN as a family of nets 〈⌈t⌉〉l∈N in LALL. Every net ⌈t⌉l in the family simulates t on arguments whose bit length is bounded by the integer l. ...
متن کاملA PolyTime Functional Language from Light Linear Logic
We introduce a typed functional programming language LPL(acronym for Light linear Programming Language) in which all valid programs run in polynomial time, and which is complete for polynomial time functions. LPL is based on lambda-calculus, with constructors for algebraic data-types, pattern matching and recursive definitions, and thus allows for a natural programming style. The validity of LP...
متن کاملاثر شوری در شدتهای مختلف نور بر برخی ویژگیهای فیزیولوژیک گیاه سیاهتاغ (Haloxylon ammodendron)
This study investigated the effect of salinity (control, 8 and 24 ds/m) and light intensity (complete light equal to 1109 × 102 Lux, intermediate light equal to 454 × 102 Lux and weak light equal to 175 × 102 Lux) on some physiological characteristics and ion uptake in Haloxylon ammodendron . The experiment conducted in completely randomizes design in split plot form with 10 replicates. Results...
متن کاملThe Elimination of Nesting in SPCF
We use a fully abstract denotational model to show that nested function calls and recursive definitions can be eliminated from SPCF (a typed functional language with simple non-local control operators) without losing expressiveness. We describe — via simple typing rules — an affine fragment of SPCF in which function nesting and recursion (other than iteration) are not permitted. We prove that t...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/0804.0660 شماره
صفحات -
تاریخ انتشار 2008